package club.xinghe.entity;

/**
 * teacher实体类
 */
public class Teacher {
    private int teacherId;//老师工号
    private String teacherName;//姓名
    private String teacherPwd;//密码
    private int tCount;//此老师的出卷总数量
    private Zy zy;//此老师所属专业
    private Yx yx;//所属院系对象

    //构造器


    public Teacher(int teacherId, String teacherPwd) {
        this.teacherId = teacherId;
        this.teacherPwd = teacherPwd;
    }

    public Teacher() {
    }

    public Teacher(int teacherId, String teacherName, String teacherPwd, int tCount, Zy zy, Yx yx) {
        this.teacherId = teacherId;
        this.teacherName = teacherName;
        this.teacherPwd = teacherPwd;
        this.tCount = tCount;
        this.zy = zy;
        this.yx = yx;
    }

    public Teacher(int teacherId) {
        this.teacherId = teacherId;
    }

    public Teacher(String teacherName, String teacherPwd) {
        this.teacherName = teacherName;
        this.teacherPwd = teacherPwd;
    }

    public Teacher(String teacherName, String teacherPwd, int tCount, Yx yx) {
        this.teacherName = teacherName;
        this.teacherPwd = teacherPwd;
        this.tCount = tCount;
        this.yx = yx;
    }

    public Teacher(int teacherId, String teacherName, String teacherPwd, int tCount, Yx yx) {
        this.teacherId = teacherId;
        this.teacherName = teacherName;
        this.teacherPwd = teacherPwd;
        this.tCount = tCount;
        this.yx = yx;
    }


    public Teacher(int teacherId, String teacherName, String teacherPwd, int tCount, Zy zy) {
        this.teacherId = teacherId;
        this.teacherName = teacherName;
        this.teacherPwd = teacherPwd;
        this.tCount = tCount;
        this.zy = zy;
    }

    public Teacher(int teacherId, Zy zy, Yx yx) {
        this.teacherId = teacherId;
        this.zy = zy;
        this.yx = yx;
    }
//setget方法


    public Zy getZy() {
        return zy;
    }

    public void setZy(Zy zy) {
        this.zy = zy;
    }

    public int getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(int teacherId) {
        this.teacherId = teacherId;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getTeacherPwd() {
        return teacherPwd;
    }

    public void setTeacherPwd(String teacherPwd) {
        this.teacherPwd = teacherPwd;
    }

    public int gettCount() {
        return tCount;
    }

    public void settCount(int tCount) {
        this.tCount = tCount;
    }

    public Yx getYx() {
        return yx;
    }

    public void setYx(Yx yx) {
        this.yx = yx;
    }
}
